package com.base.springboot.starter.mybatisplus.util;

/**
 *
 * 期格式化样式的一些模板
 * @author admin
 * @date 2020/5/14 AM10:15
 */
public class DatePattern {
    private DatePattern() {throw new IllegalStateException();}

    /**
     * yyyyMMddHHmmss
     */
    public static final String P1 = "yyyyMMddHHmmss";

    /**
     * yyyy-MM-dd HH:mm:ss
     */
    public static final String P2 = "yyyy-MM-dd HH:mm:ss";

    /**
     * yyyyMMddHHmmssSSS
     */
    public static final String P3 = "yyyyMMddHHmmssSSS";

    /**
     * yyyyMMdd
     */
    public static final String P4 = "yyyyMMdd";

    /**
     * yyyy-MM-dd
     */
    public static final String P5 = "yyyy-MM-dd";

    /**
     * HHmmss
     */
    public static final String P6 = "HHmmss";

    /**
     * HH:mm:ss
     */
    public static final String P7 = "HH:mm:ss";
}
